package com.example.springboot.service;

import com.example.springboot.pojo.Repair;

public interface RepairService {

    Repair findRepair(Integer id);
    Repair[] getAllRepair();

    Repair[] getByRoomNumber(String roomNumber);

    Repair[] getByWorkerId(String workerId);

    void deleteRepair(Integer id);

    void passRepair(Integer id,String workerId);

    void finishRepair(Integer id);

    void addRepair(String roomNumber, String detail,String photo);
}
